package models

import (
	"time"
)

type Detail struct {
	Id             int       `xorm:"not null pk autoincr INT(10)"`
	Title          string    `xorm:"unique(index_detail_eval) VARCHAR(510)"`
	Context        string    `xorm:"LONGTEXT"`
	Updatetime     time.Time `xorm:"index DATETIME"`
	Createuserid   int       `xorm:"INT(11)"`
	Createusername string    `xorm:"VARCHAR(255)"`
	Deleteat       time.Time `xorm:"DATETIME"`
	Hits           int       `xorm:"INT(11)"`
	Bigclassid     int       `xorm:"unique(index_detail_eval) INT(11)"`
	Bigclassname   string    `xorm:"VARCHAR(255)"`
	Smallclassid   int       `xorm:"unique(index_detail_eval) INT(11)"`
	Smallclassname string    `xorm:"VARCHAR(255)"`
	Origin         string    `xorm:"VARCHAR(255)"`
	Author         string    `xorm:"VARCHAR(40)"`
	Haspic         int       `xorm:"BIT(1)"`
	Sh             string    `xorm:"VARCHAR(255)"`
}
